<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var date1 = new Date('1970-1-1');
//    var date2 = new Date(date1.getTime()-3600*(9))
    console.log(date2);
    console.log(Date.UTC(1970,0,1))
    var offset = date1.getTimezoneOffset();
    var utf = offset/60;
    console.log(utf);
    console.log(date1.getTime()-offset*60*1000)
</script>
</body>
</html>